package com.zy.experience_system.repository;

import com.zy.experience_system.entity.TestSet;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.transaction.annotation.Transactional;

import java.util.List;

public interface TestSetRepository extends JpaRepository<TestSet,Integer> {
    @Transactional
    void deleteBySetId(Integer setId);
    List<TestSet> findAllByTeachId(String teachId);
}
